# Maintainer: Anatol Pomozov

pkgname=codespell
pkgver=2.2.2
pkgrel=4
pkgdesc='Fix common misspellings in source code'
arch=(any)
url='https://github.com/codespell-project/codespell'
license=(GPL2)
makedepends=(python-setuptools)
depends=(python)
source=(https://pypi.io/packages/source/c/codespell/codespell-$pkgver.tar.gz)
sha1sums=('bf436931f9183edd58afd184d78ed5a8140e42f8')
sha256sums=('c4d00c02b5a2a55661f00d5b4b3b5a710fa803ced9a9d7e45438268b099c319c')

build() {
  cd codespell-$pkgver
  python setup.py build
}

check() {
  cd codespell-$pkgver
}

package() {
  cd codespell-$pkgver
  python setup.py install --root="$pkgdir" --optimize=1
}
